package com.kelvin.paopao.injector.modules;

import com.kelvin.paopao.injector.PerActivity;
import com.kelvin.paopao.module.main.date.publish.other.IPublishOtherPresenter;
import com.kelvin.paopao.module.main.date.publish.other.PublishOtherActivity;
import com.kelvin.paopao.module.main.date.publish.other.PublishOtherPresenter;
import com.kelvin.paopao.module.main.date.publish.sport.IPublishSportPresenter;
import com.kelvin.paopao.module.main.date.publish.sport.PublishSportActivity;
import com.kelvin.paopao.module.main.date.publish.sport.PublishSportPresenter;

import dagger.Module;
import dagger.Provides;

/**
 * Created by Administrator on 2017/5/14.
 */

@Module
public class PublishOtherModule {
    private PublishOtherActivity mView;

    public PublishOtherModule(PublishOtherActivity view) {
        this.mView = view;
    }

    @PerActivity
    @Provides
    public IPublishOtherPresenter providePresenter() {
        return new PublishOtherPresenter(mView);
    }
}
